Skip to content

gh-149722: Fix ipaddress.collapse_addresses() - #149723

Draft
serhiy-storchaka wants to merge 1 commit into
python:mainfrom
serhiy-storchaka:ipaddress-collapse_addresses
Draft

gh-149722: Fix ipaddress.collapse_addresses()#149723
serhiy-storchaka wants to merge 1 commit into
python:mainfrom
serhiy-storchaka:ipaddress-collapse_addresses

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented May 12, 2026

Copy link
Copy Markdown
Member
  • Explicitly forbid IP interfaces, support of which was undocumented and broken.
  • Document support for IP addresses.
  • Always raise TypeError for unsupported types.
  • Add more tests.

@serhiy-storchaka
serhiy-storchaka requested a review from picnixz May 12, 2026 11:56
@serhiy-storchaka serhiy-storchaka added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes labels May 12, 2026
@read-the-docs-community

read-the-docs-community Bot commented May 12, 2026

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #32654086 | 📁 Comparing 0a4c824 against main (f5fb491)

  🔍 Preview build  

2 files changed
± library/ipaddress.html
± whatsnew/changelog.html

* Explicitly forbid IP interfaces, support of which was undocumented and broken.
* Document support for IP addresses.
* Always raise TypeError for unsupported types.
* Add more tests.
@serhiy-storchaka
serhiy-storchaka force-pushed the ipaddress-collapse_addresses branch from e4ecd60 to 0a4c824 Compare May 12, 2026 12:03
@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open for 90 days with no activity.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label Aug 19, 2026
@serhiy-storchaka
serhiy-storchaka marked this pull request as draft August 20, 2026 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes stale Stale PR or inactive for long period of time.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant